package com.qingke.java.perform;

import com.qingke.java.perform.impl.FlyNoWay;
import com.qingke.java.perform.impl.Quack;

public class ModelDuck extends Duck{
	
	public ModelDuck() {
		flyBehavior=new FlyNoWay();
		quackBehavior=new Quack();
	}

	@Override
	public void display() {
		System.out.println("I'm a model duck");
		
	}

}
